import com.alibaba.fastjson.JSON;

import java.util.ArrayList;
import java.util.List;

public class FastJson {
    public static void main(String[] args) {
        List<String> list = new ArrayList<String>();
        list.add("妖刀");
        list.add("小新");

        String str = JSON.toJSONString(list);
        System.out.println(list);
        System.out.println(str);
    }
}
